package org.zfes.snowier.cloud.zbss.widget.act.route.service.tea;

import java.util.Map;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.web.controller.BaseController;
import org.zfes.snowier.cloud.zbss.widget.act.service.IActSubjectJoinService;
@Controller("org.zfes.snowier.cloud.zbss.widget.act.route.service.tea.actSubjectJoinController") 
@RequestMapping("/active/service/tea/actSubjectJoin")
public class ActSubjectJoinController extends BaseController {

	@Autowired
	private IActSubjectJoinService actSubjectJoinService;
	
	//subjectId
    @RequestMapping(value="/loadActSubjectJoinDataSet", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
    public @ResponseBody  Object loadActSubjectJoinDataSet(@RequestParam Map<String,Object> params){
	    DataSet dataSet=  actSubjectJoinService.loadActSubjectJoinDataSet(params);
	    return ajaxQuery("dataSet", dataSet);
    }

}